﻿using GSPatEditor.Pat;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GSPatEditor.Serialization.ProjectSegment
{
    [Serializable]
    class ActorGeneratorSegment : SegmentBase
    {
        public int Name;

        public ActorGeneratorInitType ActorType;
        public int Action;

        public void AddToProject(PatProject project)
        {
            throw new NotImplementedException();
        }
        public void ReadFromProject(PatProject project, int name)
        {
            this.Name = name;
            var action = project.ActorList[name];
            this.ActorType = action.Type;
            this.Action = action.ActionName;
        }
    }
}
